package com.zmn.oms.common.dio.wallquotation;

import com.zmn.oms.common.dto.OmsOperator;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 用户确认报价dio
 *
 * @author chengguang
 * @date 2022/05/31
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WallQuotationDIO extends OmsOperator implements Serializable {

    private static final long serialVersionUID = -8184696124149956386L;

    @ApiModelProperty("支付价格")
    @NotNull(message = "payPrice不能为空")
    @Positive(message = "payPrice必须大于0")
    private Integer payPrice;

    @ApiModelProperty("是否自动确认 不自动 自动")
    private boolean isAutomaticConfirmation;

}
